<?php
class GV extends Users{
    static function getName($id){
        $name = Users::model()->findByPk($id);
        return $name->name;
    }
}
?>